If you’re under the new retirement system.. this is bad advice. If you front load your TSP, you lose out on some of the government match (5% max) in the remaining months of the year.
To maximize dollars, you need to make plan out what you’ll make during the year and set a consistent percentage that allows you to hit the max during the final month of the year. OR, front load, like described above, but ensure you can contribute 5% yourself for all remaining months of the year.