You can find the 10.8, 10.9, 10.10 in your MAS purchase history., but not 10.11 or 10.12.
Its because, these versions of macOS are not purchased, they where Apple ID free downloads. That is the reason why you are unable to find them in your purchase-history because you never purchased them!
Information on how to download macOS Sierra can be found here: https://support.apple.com/en-us/HT208202
Use this link to open the macOS Sierra page on the App Store: Get macOS Sierra.
Use this link to open the El Capitan page on the App Store: Get OS X El Capitan.
If the older OS isn’t in your purchase history, then you can find them here :