Since 2012 and iOS 6, the App Store will offer to install the most-recent compatible version of an app.
You can buy the most-recent version of app on your computer using iTunes (or a newer iOS device), and then download the last compatible version to your iOS 6 device.
You can buy the most-recent version of app on your computer using iTunes (or a newer iOS device), and then download the last compatible version to your iOS 6 device.