fixed bug in passing of orderby to list