added orderBy function
Merge pull request #1 from facciocose/orderby

Added orderBy function to use it instead of asc and desc in query sorting (by @facciocose)