I know that this a little late as regards to the above thread, but hopefully I can shed some light on what sailors are entitled to in the event of a death.
As a sailor/soldier or airman, you are entitled to have your coffin/casket draped with the Union Flag (Not the White Ensign), there is a common misconception that they are only entitled to this whilst serving. This is not true, as long as you have served for 24 hours as part of Her Majesties Armed Forces, then you may have your coffin/casket draped regardless of age or time served. So you could be 80 and still request a Union Flag.
If the unfortunate rate is being buried, then he/she is entitled to a gun carraige if the service is carried out in a dockyard church, with band, they are also entitled to firing party, and the Last Post.
Each area has a designated funeral officer, and they liaise with the family to the formalities of the funeral, if the funeral is taking place in a non-naval town/city, then what the entitlement allows decreases.
Hope that this helps