spec descending batting average should be default sort
implement default sort
spec Statistic.ordered_by_descending_batting_average
implement Statistic.ordered_by_descending_batting_average scope
add scenario outline for clicking a column header
add step definitions for clicking on column header scenario
add links for sorting the columns
spec sorting by a column
use parameterized ordered_by scope instead of ordered_by_descending_batting_average
implement sortable columns
add scenario for ascending sort