added sorting options