State Class Demo

Original order

State: Pennsylvania Capital: Harrisburg
State: New Jersey Capital: Trenton
State: Delaware Capital: Dover

Name sort

State: Delaware Capital: Dover
State: New Jersey Capital: Trenton
State: Pennsylvania Capital: Harrisburg

Capital sort

State: Delaware Capital: Dover
State: Pennsylvania Capital: Harrisburg
State: New Jersey Capital: Trenton