Fixed sortBy where argument was not lowercase
Fixed sortBy where argument was not lowercase

would revert to 'asc' if $direction wasn't 'desc' (all lowercase)
added api docs


Former-commit-id: 03c206acb84d08a78a76ca961254f92fe9ea09ec
biplobice/concrete5,hissy/concrete5,deek87/concrete5,jaromirdalecky/concrete5,mlocati/concrete5,MrKarlDilkington/concrete5,acliss19xx/concrete5,rikzuiderlicht/concrete5,hissy/concrete5,MrKarlDilkington/concrete5,KorvinSzanto/concrete5,a3020/concrete5,hissy/concrete5,acliss19xx/concrete5,MrKarlDilkington/concrete5,mainio/concrete5,mainio/concrete5,concrete5/concrete5,jaromirdalecky/concrete5,concrete5/concrete5,jaromirdalecky/concrete5,concrete5/concrete5,deek87/concrete5,mlocati/concrete5,biplobice/concrete5,a3020/concrete5,triplei/concrete5-8,acliss19xx/concrete5,jaromirdalecky/concrete5,concrete5/concrete5,deek87/concrete5,olsgreen/concrete5,rikzuiderlicht/concrete5,biplobice/concrete5,triplei/concrete5-8,rikzuiderlicht/concrete5,olsgreen/concrete5,olsgreen/concrete5,KorvinSzanto/concrete5,KorvinSzanto/concrete5,deek87/concrete5,hissy/concrete5,mainio/concrete5,haeflimi/concrete5,biplobice/concrete5,haeflimi/concrete5,mlocati/concrete5,triplei/concrete5-8,mlocati/concrete5,haeflimi/concrete5,haeflimi/concrete5