garu / Data-Printer

colored pretty-print of Perl data structures and objects
100 stars 81 forks source link

Support Table based sorting scheme for DBIx::Class::Row #193

Open rabbiveesh opened 4 months ago

rabbiveesh commented 4 months ago

It would be nice to have an option that uses the result class to pull the canonical order for the list of columns in each row ($row->result_source->columns) and order by that rather than natural sort the keys; i like grouping columns together even if they won't appear next to each other alphabetically (like start_date and end_date, or created/started/finished).