Added documentation and uncrufted sortable_if helper implementation