package com.jayseeofficial.marvel.rest.parameter;

/**
 * Created by jon on 20/01/16.
 */
public enum ComicOrderBy {

    FOC_DATE_ASC("focDate"),
    ON_SALE_DATE_ASC("onSaleDate"),
    TITLE_ASC("title"),
    ISSUE_NUMBER_ASC("issueNumber"),
    MODIFIED_ASC("modified"),
    FOC_DATE_DESC("-focDate"),
    ON_SALE_DATE_DESC("-onSaleDate"),
    TITLE_DESC("-title"),
    ISSUE_NUMBER_DESC("-issueNumber"),
    MODIFIED_DESC("-modified"),;

    private final String string;

    private ComicOrderBy(String string) {
        this.string = string;
    }

    @Override
    public String toString() {
        return string;
    }
}
@@ -164,17 +164,17 @@
 _ASC(%22on
-S
+s
 aleDate%22
@@ -324,17 +324,17 @@
 ESC(%22-on
-S
+s
 aleDate%22

Corrected capitalization on ComicOrderBy.ON_SALE_DATE_ASC and ComicOrderBy.ON_SALE_DATE_DESC