fixed sorting for filter options see #529

fixed sorting for filter options see #529