added sort direction ability, removed bundle